#Catalan conversion of coastal Aragon

province_event = {
	id = 1000123004
	desc = "EVTDESC1000123004"
	picture = GFX_evt_throne_room
	
	trigger = {
		kingdom = {
			title = k_aragon
		}
		location = {
			port = yes
		}
		owner = {
			religion_group = christian
			top_liege = {
				religion_group = christian
			}
		}
	}
	
	mean_time_to_happen = {
		months = 600
		modifier = {
			factor = .8
			any_neighbor_province = {
				has_owner = yes
				culture = catalan
			}
		}
		modifier = {
			factor = .01
			religion = catholic
		}
	}
	option = {
		name = "EVTOPTA1000123004"
		culture = catalan
		religion = catholic
	}
}

#Portuguese outside of Andalusia proper

province_event = {
	id = 1000123005
	desc = "EVTDESC1000123005"
	picture = GFX_evt_throne_room
	
	trigger = {
		culture = andalusian
		religion_group = muslim
		NOT = {
			kingdom = {
				title = k_andalusia
			}
		}
		owner = {
			NOT = { religion_group = muslim }
			top_liege = {
				NOT = { religion_group = muslim }
			}
			NOT = { culture = ROOT }
		}
		any_neighbor_province = {
			has_owner = yes
			religion_group = christian
			culture = portuguese
		}
	}
	
	mean_time_to_happen = {
		months = 600
		modifier = {
			factor = .8
			owner = {
				culture = portuguese
			}
		}
		modifier = {
			factor = .8
			owner = {
				top_liege = {
					culture = portuguese
				}
			}
		}
	}

	option = {
		name = "EVTOPTA1000123005"
		culture = portuguese
		religion = catholic
	}
}

#Castillian outside of Andalusia proper

province_event = {
	id = 1000123006
	desc = "EVTDESC1000123006"
	picture = GFX_evt_throne_room
	
	trigger = {
		culture = andalusian
		religion_group = muslim
		NOT = {
			kingdom = {
				title = k_andalusia
			}
		}
		owner = {
			NOT = { religion_group = muslim }
			top_liege = {
				NOT = { religion_group = muslim }
			}
			NOT = { culture = ROOT }
		}
		any_neighbor_province = {
			has_owner = yes
			religion_group = christian
			culture = castillan
		}
	}
	
	mean_time_to_happen = {
		months = 600
		modifier = {
			factor = .8
			owner = {
				culture = castillan
			}
		}
		modifier = {
			factor = .8
			owner = {
				top_liege = {
					culture = castillan
				}
			}
		}
	}

	option = {
		name = "EVTOPTA1000123006"
		culture = castillan
		religion = catholic
	}
}


#Assimilation to Portuguese of any non-Muslim Andalusian provinces that border Portuguese provinces


province_event = {
	id = 1000123007
	desc = "EVTDESC1000123007"
	picture = GFX_evt_throne_room
	
	trigger = {
		culture = andalusian
		NOT = {
			religion_group = muslim
		}
		owner = {
			NOT = { culture = ROOT }
		}
		any_neighbor_province = {
			has_owner = yes
			culture = portuguese
		}
	}
	
	mean_time_to_happen = {
		months = 120
		modifier = {
			factor = .8
			owner = {
				culture = portuguese
			}
		}
		modifier = {
			factor = .8
			owner = {
				top_liege = {
					culture = portuguese
				}
			}
		}
	}

	option = {
		name = "EVTOPTA1000123007"
		culture = portuguese
	}
}

#Assimilation to Castillian of any non-Muslim Andalusian provinces that border Castillian provinces

province_event = {
	id = 1000123008
	desc = "EVTDESC1000123008"
	picture = GFX_evt_throne_room
	
	trigger = {
		culture = andalusian
		NOT = {
			religion_group = muslim
		}
		owner = {
			NOT = { culture = ROOT }
		}
		any_neighbor_province = {
			has_owner = yes
			culture = castillan
		}
	}
	
	mean_time_to_happen = {
		months = 120
		modifier = {
			factor = .8
			owner = {
				culture = castillan
			}
		}
		modifier = {
			factor = .8
			owner = {
				top_liege = {
					culture = castillan
				}
			}
		}
	}

	option = {
		name = "EVTOPTA1000123008"
		culture = castillan
	}
}